<?php


$config = array(
	'for_applicant' => array(
	array(
		'field' => 'level_id',
		'label' => 'Grade Level',
		'rules' => 'required|numeric|trim|htmlspecialchars'
	),
	array(
		'field' => 'school_year',
		'label' => 'School Year',
		'rules' => 'required|trim|htmlspecialchars'
	),
	array(
		'field' => 'child_fname',
		'label' => 'Child\'s First name',
		'rules' => 'required|alpha_space|trim|htmlspecialchars'
	),
	array(
		'field' => 'child_mname',
		'label' => 'Child\'s Middle Name',
		'rules' => 'alpha|trim|htmlspecialchars'
	),
	array(
		'field' => 'child_lname',
		'label' => 'Child\'s Last Name',
		'rules' => 'required|alpha|trim|htmlspecialchars'
	),  
	array(
		'field' => 'child_bdate',
		'label' => 'Child\'s Birth date',
		'rules' => 'required|trim|htmlspecialchars'
	),  
	array(
		'field' => 'mobile_phone',
		'label' => 'Cellphone Number',
		'rules' => 'numeric|required|trim|htmlspecialchars'
	),
	array(
		'field' => 'schedule_for_testing',
		'label' => 'Schedule of Testing',
		'rules' => 'required|trim|htmlspecialchars'
	)
    ),
	
    'enrollment_profile' => array(
	array(
		'field' => 'email',
		'label' => 'Email Address',
		'rules' => 'required|valid_email|trim|htmlspecialchars'
	),
	array(
		'field' => 'level_id',
		'label' => 'Grade Level',
		'rules' => 'required|numeric|trim|htmlspecialchars'
	),
	array(
		'field' => 'child_fname',
		'label' => 'Child First name',
		'rules' => 'required|alpha_space|trim|htmlspecialchars'
	),
	array(
		'field' => 'child_mname',
		'label' => 'Childs Middle Name',
		'rules' => 'alpha|trim|htmlspecialchars'
	),
	array(
		'field' => 'child_lname',
		'label' => 'Child Last Name',
		'rules' => 'required|alpha|trim|htmlspecialchars'
	),
	array(
		'field' => 'child_nickname',
		'label' => 'Preferred Name',
		'rules' => 'alpha|trim|htmlspecialchars'
	),
	array(
		'field' => 'child_name_ext',
		'label' => 'Child\'s Name Extension',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'gender',
		'label' => 'Childs Gender',
		'rules' => 'required|trim|htmlspecialchars'
	),  
	array(
		'field' => 'child_bdate',
		'label' => 'Child\'s Birth date',
		'rules' => 'required|trim|htmlspecialchars'
	),  
	array(
		'field' => 'child_nationality',
		'label' => 'Child\'s Nationality',
		'rules' => 'alpha_numeric|required|trim|htmlspecialchars'
	),  
	array(
		'field' => 'child_placeofbirth',
		'label' => 'Child\'s Place of Birth',
		'rules' => 'trim|htmlspecialchars'
	),  
	array(
		'field' => 'child_city_address',
		'label' => 'Residential Address',
		'rules' => 'required|trim|htmlspecialchars'
	),
	array(
		'field' => 'child_telno',
		'label' => 'Home Phone',
		'rules' => 'numeric|required|trim|htmlspecialchars'
	),
	array(
		'field' => 'mobile_phone',
		'label' => 'Mobile Phone',
		'rules' => 'numeric|required|trim|htmlspecialchars'
	),
	array(
		'field' => 'child_religous',
		'label' => 'Religion',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'living_in_ph_with_father',
		'label' => 'Father / Step Father',
		'rules' => 'trim'
	),
	array(
		'field' => 'living_in_ph_with_mother',
		'label' => 'Mother / Step Mother',
		'rules' => 'trim'
	),
	array(
		'field' => 'living_in_ph_with_guardian',
		'label' => 'Guardian',
		'rules' => 'trim'
	),
	array(
		'field' => 'childs_english_reading_writing_level',
		'label' => 'English Writing Level',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'childs_english_verbal_proficiency',
		'label' => 'English Verbal Proficiency',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'language_at_home',
		'label' => 'Language At Home',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'participation_in_advanced_level_classes',
		'label' => 'Advanced Level Classes',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'remedial_help_in_previous_schools',
		'label' => 'Remedial Help',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'special_talent_interest_dance',
		'label' => 'Dance',
		'rules' => 'trim'
	),
	array(
		'field' => 'special_talent_interest_drama',
		'label' => 'Drama',
		'rules' => 'trim'
	),
	array(
		'field' => 'special_talent_interest_art',
		'label' => 'Art',
		'rules' => 'trim'
	),
	array(
		'field' => 'special_talent_interest_acomputer',
		'label' => 'Computer',
		'rules' => 'trim'
	),
	array(
		'field' => 'special_talent_interest_vocal_chorus',
		'label' => 'Vocal Chorus',
		'rules' => 'trim'
	),
	array(
		'field' => 'special_talent_interest_athletics',
		'label' => 'Athletics',
		'rules' => 'trim'
	),
	array(
		'field' => 'special_talent_interest_athletics_spec',
		'label' => 'Athletics Specification',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'special_talent_interest_band',
		'label' => 'Band',
		'rules' => 'trim'
	),
	array(
		'field' => 'special_talent_interest_band_spec',
		'label' => 'Band Specification',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'special_talent_interest_string',
		'label' => 'String',
		'rules' => 'trim'
	),
	array(
		'field' => 'special_talent_interest_string_spec',
		'label' => 'String Specification',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'hinder_childs_learning',
		'label' => 'Learning Process or general Development',
		'rules' => 'alpha_space|trim|htmlspecialchars'
	),
	array(
		'field' => 'leave_school',
		'label' => 'Previous School Behavioral/Disciplinary Problem',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'previous_school',
		'label' => 'Name of Previous School',
		'rules' => 'required|trim|htmlspecialchars'
	),
	array(
		'field' => 'previous_school_address',
		'label' => 'Complete School Address',
		'rules' => 'required|trim|htmlspecialchars'
	),
	array(
		'field' => 'previous_grade_level',
		'label' => 'Grade Level',
		'rules' => 'required|trim|htmlspecialchars'
	),
	array(
		'field' => 'guardian_name',
		'label' => 'Guardian\'s First Name',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'guardian_mname',
		'label' => 'Guardian\'s Middle Name',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'guardian_lname',
		'label' => 'Guardian\'s Middle Name',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'guardian_citizenship',
		'label' => 'Guardian\'s Citizenship',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'guardian_visa',
		'label' => 'Guardian\'s Philippine Visa Status',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'guardian_occup',
		'label' => 'Guardian\'s Employer or Organization',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'guardian_office_tel',
		'label' => 'Guardian\'s Office Phone Number',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'guardian_contact_no',
		'label' => 'Guardian\'s Mobile Number',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'guardian_contact_no_text',
		'label' => 'Guardian\'s Contact If',
		'rules' => 'trim'
	)
    ),
	
	'enrollment_profile_2' => array(
	array(
		'field' => 'email',
		'label' => 'Email Address',
		'rules' => 'required|valid_email|trim|htmlspecialchars'
	),
	array(
		'field' => 'level_id',
		'label' => 'Grade Level',
		'rules' => 'required|numeric|trim|htmlspecialchars'
	),
	array(
		'field' => 'child_fname',
		'label' => 'Child First name',
		'rules' => 'required|alpha_space|trim|htmlspecialchars'
	),
	array(
		'field' => 'child_mname',
		'label' => 'Childs Middle Name',
		'rules' => 'alpha|trim|htmlspecialchars'
	),
	array(
		'field' => 'child_lname',
		'label' => 'Child Last Name',
		'rules' => 'required|alpha|trim|htmlspecialchars'
	),
	array(
		'field' => 'child_nickname',
		'label' => 'Preferred Name',
		'rules' => 'alpha|trim|htmlspecialchars'
	),
	array(
		'field' => 'child_name_ext',
		'label' => 'Child\'s Name Extension',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'gender',
		'label' => 'Childs Gender',
		'rules' => 'required|trim|htmlspecialchars'
	),  
	array(
		'field' => 'child_bdate',
		'label' => 'Child\'s Birth date',
		'rules' => 'required|trim|htmlspecialchars'
	),  
	array(
		'field' => 'child_nationality',
		'label' => 'Child\'s Nationality',
		'rules' => 'alpha_numeric|required|trim|htmlspecialchars'
	),  
	array(
		'field' => 'child_placeofbirth',
		'label' => 'Child\'s Place of Birth',
		'rules' => 'trim|htmlspecialchars'
	),  
	array(
		'field' => 'child_city_address',
		'label' => 'Residential Address',
		'rules' => 'required|trim|htmlspecialchars'
	),
	array(
		'field' => 'child_telno',
		'label' => 'Home Phone',
		'rules' => 'numeric|required|trim|htmlspecialchars'
	),
	array(
		'field' => 'mobile_phone',
		'label' => 'Mobile Phone',
		'rules' => 'numeric|required|trim|htmlspecialchars'
	),
	array(
		'field' => 'child_religous',
		'label' => 'Religion',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'living_in_ph_with_father',
		'label' => 'Father / Step Father',
		'rules' => 'trim'
	),
	array(
		'field' => 'living_in_ph_with_mother',
		'label' => 'Mother / Step Mother',
		'rules' => 'trim'
	),
	array(
		'field' => 'living_in_ph_with_guardian',
		'label' => 'Guardian',
		'rules' => 'trim'
	),
	array(
		'field' => 'childs_english_reading_writing_level',
		'label' => 'English Writing Level',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'childs_english_verbal_proficiency',
		'label' => 'English Verbal Proficiency',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'language_at_home',
		'label' => 'Language At Home',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'participation_in_advanced_level_classes',
		'label' => 'Advanced Level Classes',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'remedial_help_in_previous_schools',
		'label' => 'Remedial Help',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'special_talent_interest_dance',
		'label' => 'Dance',
		'rules' => 'trim'
	),
	array(
		'field' => 'special_talent_interest_drama',
		'label' => 'Drama',
		'rules' => 'trim'
	),
	array(
		'field' => 'special_talent_interest_art',
		'label' => 'Art',
		'rules' => 'trim'
	),
	array(
		'field' => 'special_talent_interest_acomputer',
		'label' => 'Computer',
		'rules' => 'trim'
	),
	array(
		'field' => 'special_talent_interest_vocal_chorus',
		'label' => 'Vocal Chorus',
		'rules' => 'trim'
	),
	array(
		'field' => 'special_talent_interest_athletics',
		'label' => 'Athletics',
		'rules' => 'trim'
	),
	array(
		'field' => 'special_talent_interest_athletics_spec',
		'label' => 'Athletics Specification',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'special_talent_interest_band',
		'label' => 'Band',
		'rules' => 'trim'
	),
	array(
		'field' => 'special_talent_interest_band_spec',
		'label' => 'Band Specification',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'special_talent_interest_string',
		'label' => 'String',
		'rules' => 'trim'
	),
	array(
		'field' => 'special_talent_interest_string',
		'label' => 'String Specification',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'hinder_childs_learning',
		'label' => 'Learning Process or general Development',
		'rules' => 'alpha_space|trim|htmlspecialchars'
	),
	array(
		'field' => 'leave_school',
		'label' => 'Previous School Behavioral/Disciplinary Problem',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'previous_school',
		'label' => 'Name of Previous School',
		'rules' => 'required|trim|htmlspecialchars'
	),
	array(
		'field' => 'previous_school_address',
		'label' => 'Complete School Address',
		'rules' => 'required|trim|htmlspecialchars'
	),
	array(
		'field' => 'previous_grade_level',
		'label' => 'Grade Level',
		'rules' => 'required|trim|htmlspecialchars'
	),
	
	array(
		'field' => 'guardian_name',
		'label' => 'Guardian\'s First Name',
		'rules' => 'required|trim|htmlspecialchars'
	),
	array(
		'field' => 'guardian_mname',
		'label' => 'Guardian\'s Middle Name',
		'rules' => 'trim|htmlspecialchars'
	),
	array(
		'field' => 'guardian_lname',
		'label' => 'Guardian\'s Middle Name',
		'rules' => 'required|trim|htmlspecialchars'
	),
	array(
		'field' => 'guardian_citizenship',
		'label' => 'Guardian\'s Citizenship',
		'rules' => 'required|trim|htmlspecialchars'
	),
	array(
		'field' => 'guardian_visa',
		'label' => 'Guardian\'s Philippine Visa Status',
		'rules' => 'required|trim|htmlspecialchars'
	),
	array(
		'field' => 'guardian_occup',
		'label' => 'Guardian\'s Employer or Organization',
		'rules' => 'required|trim|htmlspecialchars'
	),
	array(
		'field' => 'guardian_office_tel',
		'label' => 'Guardian\'s Office Phone Number',
		'rules' => 'required|trim|htmlspecialchars'
	),
	array(
		'field' => 'guardian_contact_no',
		'label' => 'Guardian\'s Mobile Number',
		'rules' => 'required|trim|htmlspecialchars'
	),
	array(
		'field' => 'guardian_contact_no_text',
		'label' => 'Guardian\'s Contact If',
		'rules' => 'trim'
	)
    ),
	
	/*+-------------------------------------------------+
	* | Validation rules for parent information form    |
	* +-------------------------------------------------+*/
	
	'father' => array(
		array(
			'field' => 'father_name',
			'label' => 'Father\'s First Name',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'father_mname',
			'label' => 'Father\'s Middle Name',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'father_lname',
			'label' => 'Father\'s Last Name',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'father_citizenship',
			'label' => 'Father\'s Citizenship',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'father_visa',
			'label' => 'Father\'s Philippine Visa Status',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'father_occup',
			'label' => 'Father\'s Employer or Organization',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'father_office_tel',
			'label' => 'Father\'s Office Phone Number',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'father_contact_no',
			'label' => 'Father\'s Mobile Number',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'father_contact_no_text',
			'label' => 'Father\'s Contact If',
			'rules' => 'trim'
		),
		array(
			'field' => 'step_father_name',
			'label' => 'Step Father\'s First Name',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'step_father_mname',
			'label' => 'Step Father\'s Middle Name',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'step_father_lname',
			'label' => 'Step Father\'s Last Name',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'step_father_citizenship',
			'label' => 'Step Father\'s Citizenship',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'step_father_visa',
			'label' => 'Step Father\'s Philippine Visa Status',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'step_father_occup',
			'label' => 'Step Father\'s Employer or Organization',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'step_father_office_tel',
			'label' => 'Step Father\'s Office Phone Number',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'step_father_contact_no',
			'label' => 'Step Father\'s Mobile Number',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'step_father_contact_no_text',
			'label' => 'Step Father\'s Contact If',
			'rules' => 'trim'
		)
	),
	
	'step-father' => array(
		array(
			'field' => 'father_name',
			'label' => 'Father\'s First Name',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'father_mname',
			'label' => 'Father\'s Middle Name',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'father_lname',
			'label' => 'Father\'s Last Name',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'father_citizenship',
			'label' => 'Father\'s Citizenship',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'father_visa',
			'label' => 'Father\'s Philippine Visa Status',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'father_occup',
			'label' => 'Father\'s Employer or Organization',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'father_office_tel',
			'label' => 'Father\'s Office Phone Number',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'father_contact_no',
			'label' => 'Father\'s Mobile Number',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'father_contact_no_text',
			'label' => 'Father\'s Contact If',
			'rules' => 'trim'
		),
		array(
			'field' => 'step_father_name',
			'label' => 'Step Father\'s First Name',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'step_father_mname',
			'label' => 'Step Father\'s Middle Name',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'step_father_lname',
			'label' => 'Step Father\'s Last Name',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'step_father_citizenship',
			'label' => 'Step Father\'s Citizenship',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'step_father_visa',
			'label' => 'Step Father\'s Philippine Visa Status',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'step_father_occup',
			'label' => 'Step Father\'s Employer or Organization',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'step_father_office_tel',
			'label' => 'Step Father\'s Office Phone Number',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'step_father_contact_no',
			'label' => 'Step Father\'s Mobile Number',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'step_father_contact_no_text',
			'label' => 'Step Father\'s Contact If',
			'rules' => 'trim'
		)
	),
	
	'mother' => array(
		array(
			'field' => 'mother_name',
			'label' => 'Mother\'s First Name',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'mother_mname',
			'label' => 'Mother\'s Middle Name',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'mother_lname',
			'label' => 'Mother\'s Last Name',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'mother_citizenship',
			'label' => 'Mother\'s Citizenship',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'mother_visa',
			'label' => 'Mother\'s Philippine Visa Status',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'mother_occup',
			'label' => 'Mother\'s Employer or Organization',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'mother_office_tel',
			'label' => 'Mother\'s Office Phone Number',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'mother_contact_no',
			'label' => 'Mother\'s Mobile Number',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'mother_contact_no_text',
			'label' => 'Mother\'s Contact If',
			'rules' => 'trim'
		),
		array(
			'field' => 'step_mother_name',
			'label' => 'Step Mother\'s First Name',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'step_mother_mname',
			'label' => 'Step Mother\'s Middle Name',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'step_mother_lname',
			'label' => 'Step Mother\'s Last Name',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'step_mother_citizenship',
			'label' => 'Step Mother\'s Citizenship',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'step_mother_visa',
			'label' => 'Step Mother\'s Philippine Visa Status',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'step_mother_occup',
			'label' => 'Step Mother\'s Employer or Organization',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'step_mother_office_tel',
			'label' => 'Step Mother\'s Office Phone Number',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'step_mother_contact_no',
			'label' => 'Step Mother\'s Mobile Number',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'step_mother_contact_no_text',
			'label' => 'Step Mother\'s Contact If',
			'rules' => 'trim'
		)
	),
	
	'step-mother' => array(
		array(
			'field' => 'mother_name',
			'label' => 'Mother\'s First Name',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'mother_mname',
			'label' => 'Mother\'s Middle Name',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'mother_lname',
			'label' => 'Mother\'s Last Name',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'mother_citizenship',
			'label' => 'Mother\'s Citizenship',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'mother_visa',
			'label' => 'Mother\'s Philippine Visa Status',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'mother_occup',
			'label' => 'Mother\'s Employer or Organization',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'mother_office_tel',
			'label' => 'Mother\'s Office Phone Number',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'mother_contact_no',
			'label' => 'Mother\'s Mobile Number',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'mother_contact_no_text',
			'label' => 'Mother\'s Contact If',
			'rules' => 'trim'
		),
		array(
			'field' => 'step_mother_name',
			'label' => 'Step Mother\'s First Name',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'step_mother_mname',
			'label' => 'Step Mother\'s Middle Name',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'step_mother_lname',
			'label' => 'Step Mother\'s Last Name',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'step_mother_citizenship',
			'label' => 'Step Mother\'s Citizenship',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'step_mother_visa',
			'label' => 'Step Mother\'s Philippine Visa Status',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'step_mother_occup',
			'label' => 'Step Mother\'s Employer or Organization',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'step_mother_office_tel',
			'label' => 'Step Mother\'s Office Phone Number',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'step_mother_contact_no',
			'label' => 'Step Mother\'s Mobile Number',
			'rules' => 'required|trim|htmlspecialchars'
		),
		array(
			'field' => 'step_mother_contact_no_text',
			'label' => 'Step Mother\'s Contact If',
			'rules' => 'trim'
		)
	),
	
	/******* Part 3 of Applicant Form ********/
	'healthhistory'=>array(
		array(
			'field' => 'allergies_reaction',
			'label' => 'Allergies',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'drug_allergies_reaction',
			'label' => 'Drug Allergies',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'asthma',
			'label' => 'Asthma',
			'rules' => 'trim'
		),
		array(
			'field' => 'asthma_inhaler',
			'label' => 'Asthma Inhaler',
			'rules' => 'trim'
		),
		array(
			'field' => 'eye_problem_spec',
			'label' => 'Eye Problem',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'ear_problem_spec',
			'label' => 'Ear Problem',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'major_ailment',
			'label' => 'Major Ailment',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'recently_hospitalized',
			'label' => 'Recently Hospitalized',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'major_injury',
			'label' => 'Majot Injury',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'medication_child_taking_spec',
			'label' => 'Medication Child Is Taking',
			'rules' => 'trim|htmlspecialchars'
		),
		array(
			'field' => 'medication_child_taking_school_hours',
			'label' => 'Medication Child Is Taking In School Hours',
			'rules' => 'trim'
		)
	),
	
	'let_be'=>array(
		array(
			'field' => 'authfirst_aid',
			'label' => 'First Aid',
			'rules' => 'trim'
		),
		array(
			'field' => 'auth_emergency',
			'label' => 'Emergency',
			'rules' => 'trim'
		),
		array(
			'field' => 'auth_emergency_nearest_hosp',
			'label' => 'Emergency Hospitalization',
			'rules' => 'trim'
		),
		array(
			'field' => 'auth_oral_non_presc',
			'label' => 'Oral Non Prescribe',
			'rules' => 'trim'
		),
		array(
			'field' => 'first_permission',
			'label' => 'Permission',
			'rules' => 'trim|required'
		),
		array(
			'field' => 'second_permission',
			'label' => 'I Certify',
			'rules' => 'trim|required'
		),
		array(
			'field' => 'third_permission',
			'label' => 'Acknowledgement',
			'rules' => 'trim|required'
		)
	),
	
	'pli'=>array(
		array(
			'field' => 'failure_to_provide',
			'label' => 'Failure to provide complete and accurate information',
			'rules' => 'required'
		),
		array(
			'field' => 'to_the_best',
			'label' => 'To the best of my knowledge',
			'rules' => 'required'
		)
	),
	
	'student_number'=>array(
		array(
			'field' => 'student_number',
			'label' => 'Student Number',
			'rules' => 'required|is_unique[enrollments.e_student_id]|integer|trim|htmlspecialchars'
		)
	),
	
	'nationality2'=>array(
		array(
			'field' => 'child_nationality2',
			'label' => 'Citizenship (Passport)',
			'rules' => 'required|trim|htmlspecialchars'
		)
	)
);

//other nationality
$config["nationality2_enrollment_profile"] = array_merge($config['nationality2'], $config['enrollment_profile']);
$config["nationality2_enrollment_profile_2"] = array_merge($config['nationality2'], $config['enrollment_profile_2']);

//father_mother
$config["father_mother"] = array_merge($config['father'], $config['mother']);
//step-father_mother
$config["step-father_mother"] = array_merge($config['step-father'], $config['mother']);
//step-father_step-mother
$config["step-father_step-mother"] = array_merge($config['step-father'], $config['step-mother']);
//step-father_mother
$config["father_step-mother"] = array_merge($config['father'], $config['step-mother']);
//all
$config["new_nationality1_enrollment_profile_father_mother"] = array_merge($config['enrollment_profile'], $config['father'], $config['mother'], $config['healthhistory'], $config['let_be']);
$config["new_nationality2_enrollment_profile_father_mother"] = array_merge($config['enrollment_profile'], $config['father'], $config['mother'], $config['healthhistory'], $config['let_be'], $config['nationality2']);
$config["nationality1_enrollment_profile_father_mother"] = array_merge($config['enrollment_profile'], $config['father'], $config['mother'], $config['healthhistory'], $config['let_be'], $config['student_number']);
$config["nationality2_enrollment_profile_father_mother"] = array_merge($config['enrollment_profile'], $config['father'], $config['mother'], $config['healthhistory'], $config['let_be'], $config['student_number'], $config['nationality2']);

$config["new_nationality1_enrollment_profile_2_father_mother"] = array_merge($config['enrollment_profile_2'], $config['father'], $config['mother'], $config['healthhistory'], $config['let_be']);
$config["new_nationality2_enrollment_profile_2_father_mother"] = array_merge($config['enrollment_profile_2'], $config['father'], $config['mother'], $config['healthhistory'], $config['let_be'], $config['nationality2']);
$config["nationality1_enrollment_profile_2_father_mother"] = array_merge($config['enrollment_profile_2'], $config['father'], $config['mother'], $config['healthhistory'], $config['let_be'], $config['student_number']);
$config["nationality2_enrollment_profile_2_father_mother"] = array_merge($config['enrollment_profile_2'], $config['father'], $config['mother'], $config['healthhistory'], $config['let_be'], $config['student_number'], $config['nationality2']);

$config["new_nationality1_enrollment_profile_step-father_mother"] = array_merge($config['enrollment_profile'], $config['step-father'], $config['mother'], $config['healthhistory'], $config['let_be']);
$config["new_nationality2_enrollment_profile_step-father_mother"] = array_merge($config['enrollment_profile'], $config['step-father'], $config['mother'], $config['healthhistory'], $config['let_be'], $config['nationality2']);
$config["nationality1_enrollment_profile_step-father_mother"] = array_merge($config['enrollment_profile'], $config['step-father'], $config['mother'], $config['healthhistory'], $config['let_be'], $config['student_number']);
$config["nationality2_enrollment_profile_step-father_mother"] = array_merge($config['enrollment_profile'], $config['step-father'], $config['mother'], $config['healthhistory'], $config['let_be'], $config['student_number'], $config['nationality2']);

$config["new_nationality1_enrollment_profile_2_step-father_mother"] = array_merge($config['enrollment_profile_2'], $config['step-father'], $config['mother'], $config['healthhistory'], $config['let_be']);
$config["new_nationality2_enrollment_profile_2_step-father_mother"] = array_merge($config['enrollment_profile_2'], $config['step-father'], $config['mother'], $config['healthhistory'], $config['let_be'], $config['nationality2']);
$config["nationality1_enrollment_profile_2_step-father_mother"] = array_merge($config['enrollment_profile_2'], $config['step-father'], $config['mother'], $config['healthhistory'], $config['let_be'], $config['student_number']);
$config["nationality2_enrollment_profile_2_step-father_mother"] = array_merge($config['enrollment_profile_2'], $config['step-father'], $config['mother'], $config['healthhistory'], $config['let_be'], $config['student_number'], $config['nationality2']);

$config["new_nationality1_enrollment_profile_step-father_step-mother"] = array_merge($config['enrollment_profile'], $config['step-father'], $config['step-mother'], $config['healthhistory'], $config['let_be']);
$config["new_nationality2_enrollment_profile_step-father_step-mother"] = array_merge($config['enrollment_profile'], $config['step-father'], $config['step-mother'], $config['healthhistory'], $config['let_be'], $config['nationality2']);
$config["nationality1_enrollment_profile_step-father_step-mother"] = array_merge($config['enrollment_profile'], $config['step-father'], $config['step-mother'], $config['healthhistory'], $config['let_be'], $config['student_number']);
$config["nationality2_enrollment_profile_step-father_step-mother"] = array_merge($config['enrollment_profile'], $config['step-father'], $config['step-mother'], $config['healthhistory'], $config['let_be'], $config['student_number'], $config['nationality2']);

$config["new_nationality1_enrollment_profile_2_step-father_step-mother"] = array_merge($config['enrollment_profile_2'], $config['step-father'], $config['step-mother'], $config['healthhistory'], $config['let_be']);
$config["new_nationality2_enrollment_profile_2_step-father_step-mother"] = array_merge($config['enrollment_profile_2'], $config['step-father'], $config['step-mother'], $config['healthhistory'], $config['let_be'], $config['nationality2']);
$config["nationality1_enrollment_profile_2_step-father_step-mother"] = array_merge($config['enrollment_profile_2'], $config['step-father'], $config['step-mother'], $config['healthhistory'], $config['let_be'], $config['student_number']);
$config["nationality2_enrollment_profile_2_step-father_step-mother"] = array_merge($config['enrollment_profile_2'], $config['step-father'], $config['step-mother'], $config['healthhistory'], $config['let_be'], $config['student_number'], $config['nationality2']);

$config["new_nationality1_enrollment_profile_father_step-mother"] = array_merge($config['enrollment_profile'], $config['father'], $config['step-mother'], $config['healthhistory'], $config['let_be']);
$config["new_nationality2_enrollment_profile_father_step-mother"] = array_merge($config['enrollment_profile'], $config['father'], $config['step-mother'], $config['healthhistory'], $config['let_be'], $config['nationality2']);
$config["nationality1_enrollment_profile_father_step-mother"] = array_merge($config['enrollment_profile'], $config['father'], $config['step-mother'], $config['healthhistory'], $config['let_be'], $config['student_number']);
$config["nationality2_enrollment_profile_father_step-mother"] = array_merge($config['enrollment_profile'], $config['father'], $config['step-mother'], $config['healthhistory'], $config['let_be'], $config['student_number'], $config['nationality2']);

$config["new_nationality1_enrollment_profile_2_father_step-mother"] = array_merge($config['enrollment_profile_2'], $config['father'], $config['step-mother'], $config['healthhistory'], $config['let_be']);
$config["new_nationality2_enrollment_profile_2_father_step-mother"] = array_merge($config['enrollment_profile_2'], $config['father'], $config['step-mother'], $config['healthhistory'], $config['let_be'], $config['nationality2']);
$config["nationality1_enrollment_profile_2_father_step-mother"] = array_merge($config['enrollment_profile_2'], $config['father'], $config['step-mother'], $config['healthhistory'], $config['let_be'], $config['student_number']);
$config["nationality2_enrollment_profile_2_father_step-mother"] = array_merge($config['enrollment_profile_2'], $config['father'], $config['step-mother'], $config['healthhistory'], $config['let_be'], $config['student_number'], $config['nationality2']);